.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 主选项卡样式 */
.card-body > .nav-tabs {
    margin: -1rem -1.25rem 1rem;
    padding: 0 1.25rem;
    background: #f8fafc;
    border-bottom-color: rgba(0,0,0,0.05);
}

.card-body > .nav-tabs .nav-link {
    padding: 1rem 1.25rem;
    color: #64748b;
    font-weight: 500;
    border: none;
    position: relative;
}

.card-body > .nav-tabs .nav-link:hover {
    color: #2c3e50;
}

.card-body > .nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.card-body > .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* 复制提示样式 */
.copy-tip {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.copy-tip.show {
    transform: translateY(0);
    opacity: 1;
}

.copy-tip.success {
    color: #1e8e3e;
    border-left: 3px solid #1e8e3e;
}

.copy-tip.error {
    color: #d93025;
    border-left: 3px solid #d93025;
}

.copy-tip i {
    font-size: 16px;
}

/* 卡片样式 */
.card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 12px;
}

/* 卡片头部 */
.card-header {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 请求方法标签 */
.api-method {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.api-method.get { 
    background: #e6f4ea; 
    color: #1e8e3e;
}

.api-method.post { 
    background: #e8f0fe; 
    color: #1a73e8;
}

.api-method.put { 
    background: #fef7e6; 
    color: #e67700;
}

.api-method.delete { 
    background: #fce8e8; 
    color: #d93025;
}

/* API URL */
.api-url {
    color: #2c3e50;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.95rem;
    padding: 0.25rem 0.5rem;
    background: #f8fafc;
    border-radius: 4px;
}

/* 内容区域 */
.card-body {
    padding: 1.5rem;
}

/* 标题样式 */
h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

h6::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(to bottom, #2196F3, #1976D2);
    margin-right: 8px;
    border-radius: 2px;
}

/* 表格样式 */
.table {
    margin-bottom: 1.5rem;
    border-color: rgba(0,0,0,0.05);
}

.table th {
    background: #f8fafc;
    font-weight: 600;
    color: #2c3e50;
    padding: 0.75rem 1rem;
    border-bottom-width: 1px;
}

.table td {
    padding: 0.75rem 1rem;
    color: #475569;
}

/* 代码块样式 */
.code-block {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1rem 0;
    position: relative;
}

.code-block pre {
    margin: 0;
    color: #2c3e50;
    font-size: 0.95rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.code-block .code-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-block .code-title i {
    color: #94a3b8;
}

/* 调试面板样式 */
#debug-tab {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.response-area {
    background: #1e1e1e;
    color: #fff;
    border-radius: 6px;
    padding: 1rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #2c3e50;
} 